package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Area;
import cn.wolfcode.trip.base.query.AreaQueryObject;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface AreaMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Area record);

    Area selectByPrimaryKey(Long id);

    List<Area> selectAll();

    int updateByPrimaryKey(Area record);

    List<Area> selectByParentId(QueryObject qo);

    List<Area> selectForList(AreaQueryObject qo);
}